projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1072f
)
Adwaita: old style toolbar buttons
author
Jakub Steiner
<jimmac@gmail.com>
Tue, 5 May 2020 08:55:14 +0000
(10:55 +0200)
committer
Jakub Steiner
<jimmac@gmail.com>
Tue, 5 May 2020 08:55:14 +0000
(10:55 +0200)
- style toolbar buttons
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index 91f5a431f600a954ea727d8f71f8c709365ac5a9..bedff3f88ee89b7dd12b133ae0e734c8a59aa273 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-904,6
+904,19
@@
modelbutton.flat arrow {
&.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
}
+/* oldstyle toolbar buttons */
+
+.toolbar button {
+ margin: 1px;
+ @extend %undecorated_button;
+
+ &:hover { @include button('hover'); }
+ &:active { @include button('active'); }
+ &:disabled { @include button('insensitive'); }
+ &:backdrop { @include button('backdrop'); }
+ &:backdrop:disabled { @include button('backdrop-insensitive'); }
+}
+
button.color {
padding: 4px;